package Corejava.com;

public class LaptopDemo {

	
	public static void main(String[] args) {
		
		Laptop lap = new Laptop();
		
		boolean newOrNot = lap.isOld(2014);
		System.out.println("new laptop " + newOrNot);

		double howBig = lap.screenSize(14.5);
		System.out.println("screen size is " + howBig); 
		
		int realPrice = lap.price(200);
		System.out.println("this is the price: " + realPrice);
		
		String whatColor = lap.whatColor("black");
		System.out.println("current color is: " + whatColor);
		
		String whatBrand = lap.whatBrand("Dell");
		System.out.println("the brand is: " + whatBrand); 
	}

}
